package com.learn.multDataSource.mapper.mysql;

import com.learn.multDataSource.model.mysql.TKnowAttachment;
import com.learn.multDataSource.model.mysql.TKnowAttachmentExample;
import org.apache.ibatis.annotations.Param;

import java.util.List;

public interface TKnowAttachmentMapper {
    int countByExample(TKnowAttachmentExample example);

    int deleteByExample(TKnowAttachmentExample example);

    int deleteByPrimaryKey(Integer attachId);

    int insert(TKnowAttachment record);

    int insertSelective(TKnowAttachment record);

    List<TKnowAttachment> selectByExample(TKnowAttachmentExample example);

    TKnowAttachment selectByPrimaryKey(Integer attachId);

    int updateByExampleSelective(@Param("record") TKnowAttachment record, @Param("example") TKnowAttachmentExample example);

    int updateByExample(@Param("record") TKnowAttachment record, @Param("example") TKnowAttachmentExample example);

    int updateByPrimaryKeySelective(TKnowAttachment record);

    int updateByPrimaryKey(TKnowAttachment record);
}